package Day08.RPCDemo02.src.cn.tedu.rpc;

import java.io.Serializable;

public class RPCResp implements Serializable {
    private Class clz;
    private Object retObj;

    public RPCResp(Class clz, Object retObj) {
        this.clz = clz;
        this.retObj = retObj;
    }

    @Override
    public String toString() {
        return "RPCResp{" +
                "clz=" + clz +
                ", retObj=" + retObj +
                '}';
    }

    public Class getClz() {
        return clz;
    }

    public void setClz(Class clz) {
        this.clz = clz;
    }

    public Object getRetObj() {
        return retObj;
    }

    public void setRetObj(Object retObj) {
        this.retObj = retObj;
    }
}

